package _struct

import "fmt"

type Dog struct {
	Animal
	Foot int //几只脚
}

func (c Dog) Sleep() {
	fmt.Printf("%s正在睡觉 \n", c.Name)
}

func (c Dog) GetName() string {
	return c.Name
}
